package Type;

public class Test5 {
    public static void main(String[] args) {
        String str1 = "123";
        int num1 = Integer.parseInt(str1);
        System.out.println(++num1);

        String str2 = "123a";
        int num2 = Integer.parseInt(str1);
        System.out.println(++num2);

        String str3 = "TRUE";
        Boolean b1 = Boolean.parseBoolean(str3);
        System.out.println(!b1);
    }
}
